package com.woniuxy.carrental.xiaomoutest.testservice;

import com.woniuxy.carrental.entity.PageBean;
import com.woniuxy.carrental.entity.ResponseResult;
import com.woniuxy.carrental.entity.Store;
import com.woniuxy.carrental.service.StoreService;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

import javax.annotation.Resource;

/**
 * @author author
 * @create 2021-09-29 16:20
 */
@SpringBootTest
public class testServicexiaomou {
    @Resource
    StoreService storeService;

    @Test
    void test1(){

        Store store=new Store();
        ResponseResult<PageBean<Store>> pageBeanResponseResult = storeService.selectStoresByPageService(store,1, 3);
        System.out.println(pageBeanResponseResult);
    }
}
